import request from '@/utils/request'

// 查询人员密级字典
export function getrymjdict(query) {
  return request({
    url: '/archive/mjdzb/getrymjdict',
    method: 'get',
    params: query
  })
}
//查询档案密级字典
export function getdamjdict(query) {
    return request({
      url: '/archive/mjdzb/getdamjdict',
      method: 'get',
      params: query
    })
  }

//添加密级对照表
export function save(data) {
  return request({
    url: '/archive/mjdzb/save',
    method: 'post',
    data: data
  })
}
//人员密级对照表回显
export function getmjdzb(query) {
  return request({
    url: '/archive/mjdzb/getmjdzb',
    method: 'get',
    params: query
  })
}